/* part1test.c
 * test the syscall for the lock and condition
 */
#include "utility.h"
char alL1[5] = "lock";
int rt1scl1,rt1scl2;
int rt1scc1,rt1scc2;

void T(){
    int result;

    createLock(alL1, 4);
    Printf("extra 1:AT1 try to acquire a lock that named by RTAT \n");
    acquireLock(alL1, 4);
    Printf("extra 1:AT1 got the lock that named by RTAT \n");
    Printf("extra 1:AT1 gonna to loop until corrupt manually\n");
    while(1) {
        Yield();
    }
}

int main()
{
    T();
    Exit(0);
}

